package br.ucb.sigplan.util;


import java.io.IOException;
import java.util.Properties;
import java.util.ResourceBundle;

public final class ResourceUtil {
    public static ResourceBundle getPropriedades(){
        return ResourceBundle.getBundle("mail");
    }
  
    public static Properties getPropriedadesProperties() {
        Properties properties = new Properties();
        try {
            properties.load(ResourceUtil.class.getResourceAsStream("/mail.properties"));
        } catch (IOException ex) {
            ex.printStackTrace();
        }
        return properties;
    }
}
